<template>
  <div class="view-container">
    <div class="main-content">
      <div class="list-container">
        <marketing-policy />
      </div>
    </div>
  </div>
</template>

<script>
import {defineAsyncComponent, reactive, toRefs} from 'vue'
import {useRoute, useRouter} from 'vue-router'

export default {
  components: {
    marketingPolicy: defineAsyncComponent(() =>
      import('./marketingPolicy.vue')
    ),
  },
  setup(props, context) {
    const route = useRoute()
    const router = useRouter()
    var datas = reactive({
      cashRef: null,
    })
    const createCashDeposit = () => {
      datas.cashRef.open()
    }
    // onUpdated(() => {
    //   datas.activeName = route.query.tabs
    // })
    return {
      ...toRefs(datas),
    }
  },
}
</script>

